/**
 * 
 */
package com.googlecode.pcapj;

/**
 * Represents the User Datagram Protocol (UDP).
 */
public class UDP implements TransportLayer<UDPPacket>{

	/* (non-Javadoc)
	 * @see com.googlecode.pcapj.PacketFactory#newPacket(byte[], int, int)
	 */
	public UDPPacket newPacket(byte[] buffer, int offset, int length) {
		return new UDPPacketImpl(buffer, offset, length);
	}
	 
}
